﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace Core.Models
{
    /// <summary>
    /// 部门
    /// </summary>
    public class SysOrg:BaseModel
    {
        public int ParentId { get; set; }
        [StringLength(30)]
        public string Name { get; set; }
        [StringLength(30)]
        public string Address { get; set; }
        [StringLength(20)]
        public string Tel { get; set; }
        [StringLength(30)]
        public string Email { get; set; }
        [StringLength(50)]
        public string Remark { get; set; }

        public int? LeaderId { get; set; }  // 负责人ID

    }
}
